-- GENERATED SPELL FOR [Tortured Sentinel] --


function spell0_12179(pUnit, Event) --@Summon Hive\'Ashi Drones,n/a--
pUnit:FullCastSpellOnTarget(21327,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12179', 632, 1)
end

function Sorts_12179(pUnit, Event)
local choix_sorts_12179 = math.random(0, 0)
if choix_sorts_12179 == 0 then
pUnit:RegisterEvent('spell0_12179', 1, 1)
end
end

function mob12179_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12179', math.random(1500, 3000), 1)
end

function mob12179_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12179_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12179_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12179, 1, 'mob12179_Action')
RegisterUnitEvent(12179, 2, 'mob12179_Leave')
RegisterUnitEvent(12179, 3, 'mob12179_Kill')
RegisterUnitEvent(12179, 4, 'mob12179_Die')
